package com.lkm.market2_0.m_imple.steelyardserver;

import com.lkm.frame.task2.Task;
import com.lkm.hardware_connect.IHardwareControler;
import com.lkm.market2_0.m.steelyardstatus.SteelyardStatusManagerModule;



public class SteelyardServerModuleImple extends SteelyardServerModuleBase {

    public SteelyardServerModuleImple(SteelyardStatusManagerModule steelyardStatusManagerModule) {
        super(steelyardStatusManagerModule);
    }

    NetCom netCom ;

    @Override
    protected void init() {
        netCom = new NetCom() {
            @Override
            protected Task<IHardwareControler, ?, ?> createReadTask(String clientSessionId, IHardwareControler hardwareControler) {
                return SteelyardServerModuleImple.this.createReadTask(clientSessionId, hardwareControler,mSteelyardStatusManagerModule,false);
            }
        };
        netCom.connect();
    }

    @Override
    public void stopServer() {


    }
}
